<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form th:action="@{/wage/newwageaccount/add}" method="post" id="rosterForm">
<div style="width: 240px;position: absolute;top:100px;left:600px">
<h2>请输入用户信息</h2>
	<table>
		<tr>
			<td>公司:</td>
			<td>
				<input type="text" name="company">
			</td>
		</tr>	
		<tr>
			<td>分公司:</td>
			<td>
				<input type="text" name="fen_company">
			</td>
		</tr>
		<tr>
			<td>部门:</td>
			<td>
				<input type="text" name="dept">
			</td>
		</tr>	
		<tr>
			<td>组:</td>
			<td>
				<input type="text" name="group">
			</td>
		</tr>
		<tr>
			<td>岗位:</td>
			<td>
				<input type="text" name="gangwei">
			</td>
		</tr>
		<tr>
			
			<td>名字:</td>
			<td>
				<input type="text" name="name">
			</td>
		</tr>
		<tr>
			<td>入职日期:</td>
			<td>
				<input type="date" name="hiredate">
			</td>
		</tr>			
		<tr>
			<td>状态:</td>
			<td>
				<input type="text" name="status">
			</td>			
		</tr>
		<tr>
			<td>离职时间:</td>
			<td>
				<input type="date" name="leavetime">
			</td>			
		</tr>
		<tr>
			<td>身份证号:</td>
			<td>
				<input type="text" name="id_card">
			</td>		
		</tr>		
		<tr>
			<td>合同期:</td>
			<td>
				<input type="text" name="contract_term">
			</td>				
		</tr>						
		<tr>
			<td>劳动合同号:</td>
			<td>
				<input type="text" name="contract_id">
			</td>		
		</tr>
		<tr align="center">
			<td colspan="2"><input id="save" type="button" value="保存"></td>		
		</tr>
	</table>
</div>	
</form>
</body>
<th:block th:include="include :: footer" />
<script>
	$(function(){
		$("#save").click(function(){
			var form = document.getElementById('rosterForm');
			form.submit();
		})
	})
</script>
</html>